Skip to content

Pl 135485 debug log cut middle#32

Merged
ctheune merged 2 commits into
mainfrom
PL-135485-debug-log-cut-middle
Jun 10, 2026
Merged

Pl 135485 debug log cut middle#32
ctheune merged 2 commits into
mainfrom
PL-135485-debug-log-cut-middle

Conversation

@ctheune

@ctheune ctheune commented Jun 3, 2026

Copy link
Copy Markdown
Member

No description provided.

ctheune added 2 commits June 3, 2026 16:38
when cutting off long request responses or bodies, always keep
a head and tail for better diagnostics

re PL-135485

Assisted-by: Claude/sonnet-4.6
@elikoga

elikoga commented Jun 3, 2026

Copy link
Copy Markdown
Member

Looks fine code wise, however it's not clear to me that there is a significant advantage of cutting off the middle instead of the end. If we want to do exact replay, the debug files do not help anyways, so this would only help for human comprehension.

@ctheune

ctheune commented Jun 10, 2026

Copy link
Copy Markdown
Member Author

The deal is this: if the request is small enough, then we can replay directly. However, if the request is too big and we need to figure out what's going on, having only the start of the conversation is even less useful than just the end ... but seeing both seems to be the helpful trade off here.

@ctheune ctheune merged commit 2792aed into main Jun 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants